PHY SET FLUID RESTITUTION
Set the fluid restitution property.
phy set fluid restitution ID, value#
ID
identification number of the fluid object
value#
new rest restitution property
This command does not return a value.
Defines the restitution coefficient used for collisions of the fluid particles with static shapes. It must be within the range 0.0 to 1.0. A value of 0 causes the colliding particle to get a zero velocity component in the direction of the surface normal of the static shape at the collision location i.e. it will not bounce. A value of 1 causes a particle's velocity component in the direction of the surface normal to invert i.e. the particle bounces off the surface with the same velocity magnitude as it had before collision.